package com.vanke.activiti.common.enums;

import lombok.val;

public enum ResultCode {

    ALL(1,"all"),
    APPROVAL(2,"approval"),
    REJECT(4,"reject"),
    PASS(3,"pass");

    private int code;
    private String value;
    private ResultCode(int code,String value){
        this.code=code;
        this.value= value;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public static void main(String[] args) {
        val code = ResultCode.ALL.code;
    }
}
